import { createRouter, createWebHistory } from 'vue-router'
import Login from '@/views/Login.vue'
import OrdersContent from '@/views/OrdersContent.vue'
import OrdersList from '@/views/OrdersList.vue';

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'login',
      component: Login
    },   
    {
      path: '/ordersContent',
      name: 'ordersContent',
      component: OrdersContent
    },    
    {
      path: '/ordersList',
      name: 'ordersList',
      component: OrdersList
    }
  ]
})

export default router
